const HuangS = 'color:#FFC600' // 黄色
const LvS = 'color:#71D189' // 绿色
const HuiS = 'color:#8BA3C2' // 灰色
const HongS = 'color:#F56767' // 红色


export const userType = [{
    value: 1,
    label: '终端店',
    color: LvS
  },
  {
    value: 2,
    label: '安心行',
    color: HuiS
  },
]
export const rolesType = [{
    value: 1,
    label: '用户',
    color: LvS
  },
  {
    value: 2,
    label: '管理员',
    color: HuiS
  },
]

export function filter_userType(val) {
  let obj = userType.find(item => item.value == val)
  return obj
}
export function filter_rolesType(val) {
  let obj = rolesType.find(item => item.value == val)
  return obj
}


